package md.frolov.bible.editors;

import org.eclipse.jface.viewers.ISelection;

public class BibleReferenceSelection implements ISelection {
	private final String reference;
	
	public BibleReferenceSelection(String reference){
		this.reference = reference;
	}
	
	public String getReference(){
		return reference;
	}
	
	@Override
	public boolean isEmpty() {
		if(reference == null) return true;
		return reference.isEmpty();
	}

}
